package com.ctgu.server.dao.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * @projectName: ctguqmx_server
 * @package: com.ctgu.server.dao.dto
 * @className: AttendanceGroupDto
 * @author: Kvzjj
 * @description: TODO
 * @date: 2023/6/19 15:47
 * @version: 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@ApiModel(value = "AttendanceGroupDto", description = "打卡地点处理参数")
public class AttendanceGroupDto {
    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "目标组织ID")
    private List<String> groupIDList;

//    @ApiModelProperty(value = "目标组织ID")
//    private List<Attt> groupIDList;

    @ApiModelProperty(value = "考勤周期开始日期")
    private Date startDate;

    @ApiModelProperty(value = "考勤周期结束日期")
    private Date endDate;

    @ApiModelProperty(value = "考勤简介")
    private String description;

    @ApiModelProperty(value = "打卡类型0.默认打卡，1.考勤组打卡")
    private Boolean isPublic;

}
